package cn.edu.dgut.sai.json;

import javax.json.bind.annotation.JsonbProperty;

public class StudentDTO {

    @JsonbProperty("学号")
    private int stuID;

    @JsonbProperty("姓名")
    private String stuName;

    @JsonbProperty("班级")
    private String stuClass;

    @JsonbProperty("性别")
    private String stuGender;

    @JsonbProperty("备注")
    private String stuInfo;

    public StudentDTO(){}

    public StudentDTO(int stuID, String stuName, String stuClass, String stuGender) {
        this.stuID = stuID;
        this.stuName = stuName;
        this.stuClass = stuClass;
        this.stuGender = stuGender;
    }

    public StudentDTO(int stuID, String stuName, String stuClass, String stuGender, String stuInfo) {
        this.stuID = stuID;
        this.stuName = stuName;
        this.stuClass = stuClass;
        this.stuGender = stuGender;
        this.stuInfo = stuInfo;
    }

    public String getStuInfo() {
        return stuInfo;
    }

    public void setStuInfo(String stuInfo) {
        this.stuInfo = stuInfo;
    }

    public int getStuID() {
        return stuID;
    }

    public void setStuID(int stuID) {
        this.stuID = stuID;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuClass() {
        return stuClass;
    }

    public void setStuClass(String stuClass) {
        this.stuClass = stuClass;
    }

    public String getStuGender() {
        return stuGender;
    }

    public void setStuGender(String stuGender) {
        this.stuGender = stuGender;
    }

}
